import React from 'react'
import {
	Icon
} from 'antd'
import styles from './index.less'

export default {
	UserName: {
		props: {
			size: 'large',
			prefix: <Icon type="user" className={styles.prefixIcon} />,
			placeholder: '用户名'
		},
		rules: [{
			required: true,
			message: '请输入用户名'
		}]
	},
	Password: {
		props: {
			size: 'large',
			prefix: <Icon type="lock" className={styles.prefixIcon} />,
			type: 'password',
			placeholder: '密码'
		},
		rules: [{
			required: true,
			message: '请输入密码'
		}]
	}
}